Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

fix(promise): include stack trace in an unhandlerd promise #463

Merged
merged 1 commit into from
Sep 20, 2016

Conversation

mhevery
Copy link
Contributor

@mhevery mhevery commented Sep 20, 2016

No description provided.

Promise.reject('rejectedErrorShouldBeHandled');
expect(promiseError).toBe(null);
error = new Error('rejectedErrorShouldBeHandled');
Promise.reject(error);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why remove the expectation that promiseError is null here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Opps, that was on accident, will add it back.

@juliemr
Copy link
Member

juliemr commented Sep 20, 2016

Other than that question, LGTM.

@mhevery mhevery merged commit 737f8d8 into angular:master Sep 20, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants